"""
@Project:xiaomishop
@File:urls.py
@Author:马可
@Date:下午 03:41
"""

from django.urls import path
from orders import views
urlpatterns = [
    path('add_order/',views.CreateOrder.as_view()), # 创建订单
    path('pay/result/', views.CheckPayResult.as_view()),    # 支付成功
    path('orderInfo/',views.OrderInfo.as_view()),    # 获取订单信息
    path('payorder/', views.PayOrder.as_view()),    # 去支付
    path('changepaystatus/', views.ChangePayStatusView.as_view()),  # 修改订单状态
    path('deleteOrderProduct/', views.DeleteOrderGoods.as_view()),   # 删除订单中的商品
]